//导入请求工具类
import request from '@/utils/request.js'

//获取全部课程
export const getCourseList = ()=>{
    return request.get('/course/getList')
}
//条件查询
export const getCourseListByDirectionId = (params)=>{
    return request.get('/course/getCourseListByDirectionId',{params})
}
//方向查询
export const selectBySchoolId = ()=>{
    return request.get('/direction/selectBySchoolId/1')
}
//类别查询
export const selectP = ()=>{
    return request.get('/professional/select/1')
}